package com.slz3.business.module.orderManagement.ordOrderLine.domain;

import com.slz3.business.module.goodsManagement.gooGoods.domain.GooGoods;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(schema = "order_management", name = "ord_order_line")
@Data
@EqualsAndHashCode(callSuper = true)
public class OrdOrderLine extends OrdOrderLineEntity {

    /**
     * 商品名称
     */
    private  String serItemName;

    /**
     * 商品编号
     */
    private String serItemNum;

    /**
     * 商品图片
     */
    private String serItemImg;

    /**
     * 联系电话
     */
    @Transient
    private  String  serPhone;


    /**
     * 用户名称
     */
    @Transient
    private  String serUserName;

    /**
     * 商品
     */
    @Transient
    private GooGoods gooGoods;

}
